package com.zenithmind.user.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "管理员登录请求体", description = "管理员登录请求体，需要验证码")
public class AdminLoginDTO {
    
    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名")
    private String username;

    @NotBlank(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;
    
    @NotBlank(message = "验证码不能为空")
    @Schema(description = "验证码")
    private String verificationCode;
} 